package com.bupt.vueblog.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author 谭继好
 * @Description 评论相关下面的简要评论，点击跳转到对应的博客评论
 * 需要带有博客ID，否则无法跳转
 * @date 2024-04-14 15:19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BriefCommentVO {

    private Integer id;
    private String username;
    // 便于跳转到对应的文章
    private Integer articleId;
    private String articleTitle;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
}
